<div style="float: right" class="col-lg-4">
    <form method="get">
        <div class="input-group">
              <input type="text" name='q' class="form-control" placeholder="Search for..."value="{{ search_data }}">
                   <span class="input-group-btn">
                      <button class="btn btn-default" type="submit">
                    <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
                </button>
             </span>
        </div><!-- /input-group -->
    </form>

</div><!-- /.col-lg-6 -->